package dancetiktokmodelmysql

import (
	"gorm.io/gorm"
	"time"
)

// DanceActivitiesDrawPrizeExtraNumbersGifts 非关系满赠配置
type DanceActivitiesDrawPrizeExtraNumbersGifts struct {
	Id           int64          `gorm:"primaryKey;autoIncrement;comment:id" json:"id"`
	ActivitiesId int64          `json:"activitiesId" gorm:"column:activities_id;type:bigint;default:0;not null;comment:活动id"`  // 活动id
	LotteryNum   int64          `json:"lotteryNum" gorm:"column:lottery_num;type:bigint;default:0;not null;comment:满足对应的抽奖次数"` // 满足对应的抽奖次数
	ElementNo    int64          `json:"elementNo" gorm:"column:element_no;type:bigint;default:0;not null;comment:命中开始区间"`      // 碎片编号
	Numbers      int64          `json:"numbers" gorm:"column:numbers;type:bigint;default:0;not null;comment:赠送次数"`             // 赠送次数
	CreatedId    int64          `json:"created_id" gorm:"column:created_id;type:bigint;default:0;not null;comment:创建人id"`      // 创建人id
	CreatedAt    time.Time      `json:"created_at" gorm:"column:created_at;type:datetime"`
	UpdatedAt    time.Time      `json:"updated_at" gorm:"column:updated_at;type:datetime"`
	DeletedAt    gorm.DeletedAt `gorm:"index;type:datetime" json:"-"`
}
